Fast Sorting of Weyl Sequences Using Comparisons
نویسندگان
چکیده
An algorithm is given which makes only $O(\log n)$ comparisons, and which will determine the ordering of the uniformly distributed (pseudo random) Weyl sequences given by $\{ (k\alpha )\bmod 1:1 \leqq k \leqq n\} $, where $\alpha $ is an unspecified irrational number. This result is shown to be best possible in the sense that no algorithm can perform the same task with fewer than $ \Omega (\log n)$ comparisons. Disciplines Other Mathematics This journal article is available at ScholarlyCommons: http://repository.upenn.edu/oid_papers/262 SIAM J. COMPUT. Vol. 10, No. 1, February 1981 1981 Society for Industrial and Applied Mathematics 0097-5397/81 1001-0007 $01.00/0 FAST SORTING OF WEYL SEQUENCES USING COMPARISONS* MARTIN H. ELLIS ND J. MICHAEL STEELE Abstract. An algorithm is given which makes only O(log n) comparisons, and which will determine the ordering of the uniformly distributed (pseudo random) Weyl sequences given by {(kc)rood 1:1 _-< k =< n}, where a is an unspecified irrational number. This result is shown to be best possible in the sense that no algorithm can perform the same task with fewer than (log n) comparisons. An algorithm is given which makes only O(log n) comparisons, and which will determine the ordering of the uniformly distributed (pseudo random) Weyl sequences given by {(kc)rood 1:1 _-< k =< n}, where a is an unspecified irrational number. This result is shown to be best possible in the sense that no algorithm can perform the same task with fewer than (log n) comparisons. Key words, sorting, Weyl sequences, information theory lower bound, alpha-sort
منابع مشابه
On New Sorting-Based Lossless Motion Estimation Algorithms
Block motion estimation represents a cpu-intensive task in video encoding and many fast algorithms have been developed to improve the searching and matching phases. A milestone within the lossless approach is partial distortion elimination (PDE/SpiralPDE) in which distortion is the difference between the block to be coded and the candidate prediction block. In this paper we show that contributi...
متن کاملFast Stable In - Place Sorting with O ( n ) Data Moves 1
Until recently, it was not known whether it was possible to sort stably (i.e., keeping equal elements in their initial order) an array of n elements using only O(n) data moves and O(1) extra space. In [13] an algorithm was given to perform this task in O(n2) comparisons in the worst case. Here, we develop a new algorithm for the problem that performs only O(n1+ε) comparisons (0 < ε ≤ 1 is any f...
متن کاملHomomorphic Rank Sort Using Surrogate Polynomials
In this paper we propose a rank based algorithm for sorting encrypted data using monomials. Greedy Sort is a sorting technique that achieves to minimize the depth of the homomorphic evaluations. It is a costly algorithm due to excessive ciphertext multiplications and its implementation is cumbersome. Another method Direct Sort has a slightly deeper circuit than Greedy Sort, nevertheless it is s...
متن کاملIfI - 06 - 10 Clausthal - Zellerfeld 2006
In this paper, we present a novel approach for parallel sorting on stream processing architectures. It is based on adaptive bitonic sorting. For sorting n values utilizing p stream processor units, this approach achieves the optimal time complexity O((n log n)/p). While this makes our approach competitive with common sequential sorting algorithms not only from a theoretical viewpoint, it is als...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- SIAM J. Comput.
دوره 10 شماره
صفحات -
تاریخ انتشار 1981